package com.appspot.bibtable.model.format;

public abstract class OutputFormatter implements Formatter<Object>
{
	private final OutputFormatter elementFormatter;
	
	public OutputFormatter()
	{
		this.elementFormatter = null;
	}

	public OutputFormatter(OutputFormatter elementFormatter)
	{
		this.elementFormatter = elementFormatter;
	}

	public abstract String format(Object object);
	
	public OutputFormatter getElementFormatter()
	{
		return elementFormatter;
	}
}
